package com.lyh.jnademo.service;

import com.lyh.jnademo.controller.HelloWorld;
import com.sun.jna.Library;
import com.sun.jna.Native;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author lyh
 * @version 1.0
 * @date 2019/10/11
 */
@Service
public class HelloWorldService {

   @Autowired
   DllCenter dllCenter;

    public int librayAdd(int a, int b) {
        return dllCenter.dllAdd(a, b);
    }

}
